package com.lanou3g.redis;

public class Student {
	String sname;
	int age;

	@Override
	public String toString() {
		return "Student{" +
				"sname='" + sname + '\'' +
				", age=" + age +
				'}';
	}

	public Student(String sname, int age) {
		this.sname = sname;
		this.age = age;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
}